﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConceptsFramework.AbstractConceptElements
{
    /// <summary>
    /// AbstractCrossConcept is representing the A*B operation between 2 concepts
    /// </summary>
    public abstract class AbstractCrossConcept : AbstractBindableConcept
    {
        public AbstractCrossConcept(AbstractBindableConcept leftConcept, AbstractBindableConcept rightConcept)
        {
            LeftConcept = leftConcept;
            RightConcept = rightConcept;
        }

        public AbstractBindableConcept LeftConcept
        {
            get; set;
        }

        public AbstractBindableConcept RightConcept
        {
            get;
            set;
        }

        public string ID 
        { 
            get { return LeftConcept.ID + "*" + RightConcept.ID; }
        }
    }
}
